<?php

$arrWeb = array("luckyball.us",
							"usbet33.us",
							"usbet66.us",
							"usbet777.us",
							"usbet88.us",
							"cambosix.net",
							"k-wbl.com",
							"k-wbl.net", 
							"us11.us", 
							"us55.us",
							"us77.us",
							"us888.us",
							"us99.us"
							);


$strSQL = "update `bet_TodayGame` set isStopBet = 1 where 1";
print $strSQL;
foreach($arrWeb as $strWeb){
	$_SERVER["DOCUMENT_ROOT"] = "/home/share/www/".$strWeb."/secure";
	include($_SERVER["DOCUMENT_ROOT"]."/db.inc.php");
	print $strWeb.": ";
	if(!PMA_mysql_query($strSQL, $_ConnMaster)){
		print "Error! ".PMA_mysql_error($_ConnMaster);
	}else{
		print "OK! Affect Rows = ".mysql_affected_rows();
	}
	print "<br /><hr />\n";
}
?>